dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Revert "selenium: add new message banner test to user spec""
[lhc/web/wiklou.git]
/
maintenance
/
populateRecentChangesSource.php
diff --git
a/maintenance/populateRecentChangesSource.php
b/maintenance/populateRecentChangesSource.php
index
eb9797f
..
4ac3486
100644
(file)
--- a/
maintenance/populateRecentChangesSource.php
+++ b/
maintenance/populateRecentChangesSource.php
@@
-60,14
+60,12
@@
class PopulateRecentChangesSource extends LoggedUpdateMaintenance {
$updatedValues = $this->buildUpdateCondition( $dbw );
while ( $blockEnd <= $end ) {
$updatedValues = $this->buildUpdateCondition( $dbw );
while ( $blockEnd <= $end ) {
- $cond = "rc_id BETWEEN $blockStart AND $blockEnd";
-
$dbw->update(
'recentchanges',
[ $updatedValues ],
[
"rc_source = ''",
$dbw->update(
'recentchanges',
[ $updatedValues ],
[
"rc_source = ''",
- "rc_id BETWEEN
$blockStart AND $blockEnd"
+ "rc_id BETWEEN
" . (int)$blockStart . " AND " . (int)$blockEnd
],
__METHOD__
);
],
__METHOD__
);
@@
-106,5
+104,5
@@
class PopulateRecentChangesSource extends LoggedUpdateMaintenance {
}
}
}
}
-$maintClass =
"PopulateRecentChangesSource"
;
+$maintClass =
PopulateRecentChangesSource::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;